/*
 * @Author: yangzonglong
 * @Date: 2021-07-20 09:56:42
 * @version: v1.0.0
 * @Descripttion: mobileview data
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-08-17 15:02:11
 * @Auditor:
 */
import MobileInput from './components/MobileInput.jsx';
import MobileText from './components/MobileText.jsx';
import MobileDatePicker from './components/MobileDatePicker.jsx';
import MobileTextArea from './components/MobileTextarea.jsx';
import MobileRadio from './components/MobileRadio.jsx';
import MobileCheckbox from './components/MobileCheckbox.jsx';
import MobileDividLine from './components/MobileDividLine.jsx';
import MobileAdjustSpacing from './components/MobileAdjustSpacing.jsx';
import MobileSelect from './components/MobileSelect.jsx';
import MobileImg from './components/MobileImg.jsx';
import MobileUpload from './components/MobileUpload.jsx';
import MobileTable from './components/table/MobileTable.jsx';
import MobileDataLinkLov from './components/MobileDataLinkLov.jsx';
import MobileDataLinkComBox from './components/MobileDataLinkComBox.jsx';
import { ControlType } from './config';

export const mobleControlMap = {
  [ControlType.INPUT]: MobileInput,
  [ControlType.DATE_PICKER]: MobileDatePicker,
  [ControlType.TEXT]: MobileText,
  [ControlType.TEXT_AREA]: MobileTextArea,
  [ControlType.RADIO]: MobileRadio,
  [ControlType.CHECKBOX]: MobileCheckbox,
  [ControlType.DIVIDLINE]: MobileDividLine,
  [ControlType.ADJUSTSPACING]: MobileAdjustSpacing,
  [ControlType.IMG]: MobileImg,
  [ControlType.SELECT]: MobileSelect,
  [ControlType.UPLOAD]: MobileUpload,
  [ControlType.TABLE]: MobileTable,
  [ControlType.DATALINK]: MobileDataLinkLov,
  [ControlType.DATALINKCOMBOX]: MobileDataLinkComBox,
};
